﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace VehicleMaintenance.Models
{
	public class MaintenanceCategories
	{
		[Key]
		public int CategoryID { get; set; }

		[Display(Name = "维修类别")]
		[Required(ErrorMessage = "维修类别不能为空")]
		public string Name { get; set; }

		[Display(Name = "备注")]
		public string Remark { get; set; }

		public List<MainBill> MainBill { get; set; }
	}
}
